package com.foreverwin.jzymes.production.picking.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;
import java.util.Date;

/**
 * 领料清单表 Z_PICKING_BOM
 *
 * @author levy
 * @date 2019-04-03
 */
public class PickingBom
{
	private static final long serialVersionUID = 1L;

	/** 主键 */
	private String handle;
	/** 站点 */
	private String site;
	/** 单号 */
	private String orderBo;
	/** 物料料号 */
	private String item;
	/** 物料描述 */
	private String description;
	/** 数量 */
	private BigDecimal qty;
	/** 单位 */
	private String unit;
	/** 备注 */
	private String remark;
	/** 状态 */
	private String status;
	/** 创建日期 */
	private Date createdDateTime;
	/** 结束日期 */
	private Date endDateTime;

	public void setHandle(String handle)
	{
		this.handle = handle;
	}

	public String getHandle()
	{
		return handle;
	}
	public void setSite(String site)
	{
		this.site = site;
	}

	public String getSite()
	{
		return site;
	}
	public void setOrderBo(String orderBo)
	{
		this.orderBo = orderBo;
	}

	public String getOrderBo()
	{
		return orderBo;
	}
	public void setItem(String item)
	{
		this.item = item;
	}

	public String getItem()
	{
		return item;
	}
	public void setDescription(String description)
	{
		this.description = description;
	}

	public String getDescription()
	{
		return description;
	}
	public void setQty(BigDecimal qty)
	{
		this.qty = qty;
	}

	public BigDecimal getQty()
	{
		return qty;
	}
	public void setUnit(String unit)
	{
		this.unit = unit;
	}

	public String getUnit()
	{
		return unit;
	}
	public void setRemark(String remark)
	{
		this.remark = remark;
	}

	public String getRemark()
	{
		return remark;
	}
	public void setStatus(String status)
	{
		this.status = status;
	}

	public String getStatus()
	{
		return status;
	}
	public void setCreatedDateTime(Date createdDateTime)
	{
		this.createdDateTime = createdDateTime;
	}

	public Date getCreatedDateTime()
	{
		return createdDateTime;
	}
	public void setEndDateTime(Date endDateTime)
	{
		this.endDateTime = endDateTime;
	}

	public Date getEndDateTime()
	{
		return endDateTime;
	}

	public String toString() {
		return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
				.append("handle", getHandle())
				.append("site", getSite())
				.append("orderBo", getOrderBo())
				.append("item", getItem())
				.append("description", getDescription())
				.append("qty", getQty())
				.append("unit", getUnit())
				.append("remark", getRemark())
				.append("status", getStatus())
				.append("createdDateTime", getCreatedDateTime())
				.append("endDateTime", getEndDateTime())
				.toString();
	}
}
